package ru.nsu.fit.iconveyor.conveyor.storage.importer.graphml.elements;

import java.util.Stack;

/**
 * @author Timur Zolotuhin (tzolotuhin@gmail.com)
 */
public class GraphMLEdge {
    private final String id;
    private final String srcId;
    private final String trgId;
    private final Stack<GraphMLAttribute> attributes;

    public GraphMLEdge(String id, String srcId, String trgId) {
        this.id = id;
        this.srcId = srcId;
        this.trgId = trgId;
        this.attributes = new Stack<GraphMLAttribute>();
    }

    public String getId() {
        return id;
    }

    public String getSrcId() {
        return srcId;
    }

    public String getTrgId() {
        return trgId;
    }

    public Stack<GraphMLAttribute> getAttributes() {
        return attributes;
    }
}
